//
//  ViewController.h
//  nmrsc
//
//  Created by xumckay on 16/1/9.
//  Copyright © 2016年 bric. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ViewController1.h"
#import "ClassifyViewController.h"
#import "ViewController3.h"
#import "MyPersonCenterViewController.h"
#import "RootButton.h"
#import "MyPersonCenterViewController.h"
#import "LoginViewController.h"
#import "RegisterViewController.h"
#import "HLManager.h"
@class LoginViewController;
@interface RootViewController : UIViewController<UIScrollViewDelegate>

@property (nonatomic, strong)RootButton *homeButton;    // 主页的按钮
@property (nonatomic, strong)RootButton *secondButton;  // 第二个按钮
@property (nonatomic, strong)RootButton *thirdButton;   // 第三个按钮
@property (nonatomic, strong)RootButton *fourButton;    // 第四个按钮
@property (strong,nonatomic)NSMutableArray *rootButtons;  //存放四个被创建的tabbar按钮
@property (nonatomic,strong)UIScrollView *rootScroller;  //可滑动的view
@property (strong,nonatomic)UIView *tabBarView;           //底部可点击的四个按钮
@property (assign,nonatomic)NSInteger lastclickedButtonOfTag; //记录上一次按钮被点击的tag
@property (strong,nonatomic)ViewController1*homeVC;
@property (strong,nonatomic)ClassifyViewController*SecondVC;
@property (strong,nonatomic)ViewController3*ThirdVC;
@property (strong,nonatomic)MyPersonCenterViewController*FourthVC;
@property (strong,nonatomic)LoginViewController *loginVC;   //登陆页面
@property (strong,nonatomic)RegisterViewController *registVC; //注册界面

@end

